//
//  TRViewModelProtocol.h
//  SafePay
//
//  Created by  ztryxh on 2018/6/15.
//  Copyright © 2018年 ebo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TRRequest.h"
typedef enum: NSUInteger{
    
    TRHeaderRefresh_HasMoreData =1,
    TRHeaderRefresh_HasNoMoreData,
    TRFooterRefresh_HasMoreData,
    TRFooterRefresh_HasNoMoreData,
    TRRefreshError,
    TRRefreshUI,
    
} TRRefreshDataStatus;
@protocol TRViewModelProtocol <NSObject>

@optional
-(instancetype)initWithModel:(id)model;
@property (strong,nonatomic)TRRequest *request;

/*
 *
 *  初始化
*/
- (void)tr_initialize;

@end
